package com.combetter.changxing.net;

import android.arch.paging.DataSource;
import android.arch.paging.ItemKeyedDataSource;
import android.support.annotation.NonNull;

/**
 * Created by Mark.fan on 2018/6/5.
 */

public class BasePagingDataSource extends ItemKeyedDataSource{

    public BasePagingDataSource() {
        DataSource.Factory factory = new DataSource.Factory() {
            @Override
            public DataSource create() {
                return null;
            }
        };
    }

    @Override
    public void loadInitial(@NonNull LoadInitialParams params, @NonNull LoadInitialCallback callback) {

    }

    @Override
    public void loadAfter(@NonNull LoadParams params, @NonNull LoadCallback callback) {

    }

    @Override
    public void loadBefore(@NonNull LoadParams params, @NonNull LoadCallback callback) {

    }

    @NonNull
    @Override
    public Object getKey(@NonNull Object item) {
        return null;
    }
}
